import http from "../utils/http";
interface data {
  username: string;
  password: string;
  type: string;
}
const login = (data: data) => {
  return http({
    url: "/login",
    data,
  });
};
export { login };
